package com.dstz.demo.core.manager.impl;

import com.dstz.base.manager.impl.BaseManager;
import com.dstz.demo.core.dao.ClcsbDao;
import com.dstz.demo.core.manager.ClcsbManager;
import com.dstz.demo.core.model.Clcsb;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service("ClcsbManager")
public class ClcsbManagerManagerImpl extends BaseManager<String , Clcsb> implements ClcsbManager {
    @Resource
    ClcsbDao clcsbDao;
    @Override
    public List<Clcsb> query(String materielcodeid) {
        return clcsbDao.query(materielcodeid);
    }

    @Override
    public Integer updates(Clcsb clcsb) {
        return clcsbDao.updates(clcsb);
    }
}
